SYS.MEM.ALLOC
0x0000
NET.UPLINK
ESTABLISHING
SEC.PROTOCOL
AWAITING
DATA.STREAM
0.0.0.0
0%
INITIALIZING SYSTEM
[
]
Portfolio Learn Month 02 Networking Basics

🌐 Day 14: HTTP Methods, Tools, and Status Codes

Networking Web HTTP

Now that we understand the basics of Requests and Responses, it is time to decode every part of that "text conversation." 🌐

1. HTTP Methods (The "Verbs")

The first line of an HTTP request starts with a Method. This tells the server what action you want to take.

🟒 The "Big Two" (Common Traffic)

πŸ”΄ The "Dangerous" Methods (Admin Tools)

πŸ” For Reconnaissance (Information Gathering)


2. Practical: Burp Suite (The Hacker's Interface)

When you first open Burp Suite (Community Edition), it looks like a sci-fi dashboard. For now, we only care about the Proxy Tab.

The Main Parts:

  1. The Dashboard: Shows what Burp is finding (you can ignore this for now).
  2. The Proxy Tab: The heart of the tool.
    • Intercept Sub-tab: Used to "catch" requests in mid-air.
    • HTTP History Sub-tab: A list of every request your browser has made.
  3. The Repeater Tab: Used to take a caught request and "repeat" it manually to see what breaks.

πŸ› οΈ Step 1: Setting Up the "Hacker Browser"

  1. Open Burp Suite.
  2. Go to Proxy -> Intercept.
  3. Click "Open Browser." (Use Burp’s built-in browser; it’s much easier!)

🚦 Step 2: Your First "Interception"

  1. In the Burp Browser, go to example.com.
  2. In Burp, make sure "Intercept is ON."
  3. Refresh the browser page.
  4. BOOM. The browser freezes. Burp has caught the request!

πŸ•΅οΈβ€β™‚οΈ Step 3: Manipulating Live Data

Look at the text in the Intercept window. You can actually edit it!

  1. Find the User-Agent line.
  2. Delete it and type: User-Agent: HACKER-USMAN.
  3. Click the "Forward" button.
  4. The browser finishes loading, but you just sent a custom message the server wasn't expecting.

3. HTTP Status Codes (The Feedback)

These are 3-digit numbers the server sends back to tell you what happened. They are divided into 5 families:

βœ… 2xx Family (Success)

β†ͺ️ 3xx Family (Redirection)

⚠️ 4xx Family (Client Error)

πŸ”₯ 5xx Family (Server Error)